import org.junit.Test;

import java.util.HashMap;


public class testHashMap {
    @Test
    public void testConsturct() {
        // 初始容量为16
        HashMap<String, String> hashMap = new HashMap<>(13);

        hashMap.put("杨过", "2019");
        hashMap.put("小龙女", "2018");

        System.out.println(hashMap.get("杨过"));
    }
}
